(!(op->flags & GNTMAP_readonly) &&
!(act->pin & (GNTPIN_hstw_mask|GNTPIN_devw_mask))) )
{
- scombo.shorts.flags = sha->flags;
- scombo.shorts.domid = sha->domid;
+ scombo.word = *(u32 *)&sha->flags;
/*
* This loop attempts to set the access (reading/writing) flags
sha = &rgt->shared[ref];
- scombo.shorts.flags = sha->flags;
- scombo.shorts.domid = sha->domid;
+ scombo.word = *(u32 *)&sha->flags;
for ( ; ; )
{
if ( !act->pin ||
(!readonly && !(act->pin & (GNTPIN_devw_mask|GNTPIN_hstw_mask))) )
{
- scombo.shorts.flags = sha->flags;
- scombo.shorts.domid = sha->domid;
+ scombo.word = *(u32 *)&sha->flags;
for ( ; ; )
{